/* User Profiles */
.profile-header {
  border-bottom: 1px solid #eee;
  padding: 25px 0;
  display: flex;
}

.profile-header .profile-info {
  display: flex;
  flex-wrap: wrap;
  flex-grow: 1;
}

.profile-avatar {
  position: relative;
  margin-right: 10px;
}

[dir=rtl] .profile-avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-avatar .avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
}

.profile-avatar-agent:after {
  background-color: transparent;
  background-image: url("/hc/assets/agent-marker.png");
  background-image: url("/hc/assets/agent-marker.svg");
  background-repeat: no-repeat;
  background-size: 15px;
  position: absolute;
  width: 15px;
  height: 15px;
  content: "";
  bottom: 0;
  right: 0;
}

[dir=rtl] .profile-avatar-agent:after {
  left: 0;
}

.profile-header .basic-info {
  justify-content: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.profile-header .basic-info .name {
  margin: 0;
}

.profile-header .options {
  display: flex;
  align-items: flex-start;
}

.profile-header .options :not(:last-child) {
  margin-right: 10px;
}

[dir=rtl] .profile-header .options :not(:last-child) {
  margin-left: 10px;
  margin-right: 0;
}

.profile-header .options [data-action="edit-profile"] {
  background: #444;
  border-color: #444 transparent #222;
  color: #fff;
}

.profile-header .description {
  margin: 20px 0 15px 0;
  font-size: 14px;
  flex-basis: 100%;
}

.profile-stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.profile-stats .stat {
  display: flex;
}

.profile-stats .stat-label {
  color: #999;
}

.profile-stats-activity {
  margin: 15px 0 15.5px;
  flex-basis: 100%;
}

.profile-stats-activity .stat {
  flex-direction: column;
}

.profile-stats-activity .stat:not(:last-child) {
  margin-right: 40px;
}

[dir=rtl] .profile-stats-activity .stat:not(:last-child) {
  margin-right: 0;
  margin-left: 40px;
}

.profile-stats-counters {
  flex: 0 0 271px;
  margin-left: 60px;
  flex-direction: column;
}

[dir=rtl] .profile-stats-counters {
  margin-right: 60px;
  margin-left: 0;
}

.profile-stats-counters .stat .stat-label {
  flex: 0 0 100px;
}

.profile-stats-counters .stat:not(:last-child) {
  margin-bottom: 17px;
}

.profile-private-badge {
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #999;
  padding: 5px 10px;
}

.profile-private-badge:after {
  content: "\1f512";
  font-family: "Entypo";
  margin-left: 5px;
}

.profile-nav {
  margin-bottom: 40.5px;
  border-bottom: 1px solid #eee;
  padding: 10.5px 0;
}

.profile-section {
  width: calc(100% - 271px - 60px);
}

.profile-section-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding-bottom: 10px;
}

.profile-section-title {
  flex-basis: 100%;
  margin: 0;
}

.profile-section-description {
  flex-grow: 1;
}

.profile-section-header > :not(:first-child) {
  margin-top: 20px;
}

.profile-contribution {
  padding: 20px 0;
  word-wrap: break-word;
  position: relative;
}

.profile-contribution-header {
  margin-bottom: 5px;
}

.profile-contribution-title {
  margin: 0 0 5px 0;
  display: inline;
  line-height: 21px;
  vertical-align: middle;
}

.profile-contribution-breadcrumbs > li {
  display: inline;
  word-wrap: break-word;
}

.profile-contribution-body {
  margin: 10px 0;
  font-size: 13px;
  line-height: 1.5;
}

.profile-contribution-meta {
  display: flex;
  font-size: 11px;
  line-height: 18px;
  color: #ccc;
}

.profile-contribution-meta > .meta-data:not(:last-child)::after {
  content: "\00B7";
  padding: 0 5px;
}

.profile-contribution-list > .profile-contribution {
  border-top: 1px solid #eee;
  padding-left: 33px;
}

[dir=rtl] .profile-contribution-list > .profile-contribution {
  padding-right: 33px;
  padding-left: 0;
}

.profile-contribution-list > .profile-contribution:last-child {
  border-bottom: 1px solid #eee;
}

.profile-section .no-activity,
.profile-section .private-activity {
  display: block;
  margin-top: 40px;
  color: #999;
}

.profile-section .private-activity:before {
  content: "\1f512";
  font-family: "Entypo";
  margin-right: 10px;
}

.profile-activity-list {
  margin-top: 25px;
  margin-left: 10px;
}

[dir=rtl] .profile-activity-list {
  margin-left: 0;
  margin-right: 10px;
}

.profile-activity {
  position: relative;
  padding-bottom: 30px;
  padding-left: 20px;
}

[dir=rtl] .profile-activity {
  padding-left: 0;
  padding-right: 20px;
}

.profile-activity:not(:last-child) {
  border-left: 1px solid #ddd;
}

[dir=rtl] .profile-activity:not(:last-child) {
  border-left: 0;
  border-right: 1px solid #ddd;
}

.profile-activity-header {
  display: flex;
  align-items: center;
}

.profile-activity-header .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

[dir=rtl] .profile-activity-header .avatar {
  margin-left: 10px;
  margin-right: 0;
}

.profile-activity-description span:first-child {
  font-weight: bold;
}

.profile-activity-contribution {
  padding: 20px;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-left: 50px;
}

[dir=rtl] .profile-activity-contribution {
  margin-left: 0;
  margin-right: 50px;
}

.profile-contribution .contribution-published,
.profile-contribution .contribution-pending,
.profile-contribution .contribution-official {
  border: 1px solid transparent;
  float: right;
  font-size: 11px;
  padding: 1px 5px;
}

[dir=rtl] .profile-contribution .contribution-published, [dir=rtl]
.profile-contribution .contribution-pending, [dir=rtl]
.profile-contribution .contribution-official {
  float: left;
}

.profile-contribution .contribution-published {
  color: #bebebe;
}

.profile-contribution .contribution-published:before {
  content: " ";
  display: inline-block;
  width: 5px;
}

.profile-contribution .contribution-pending,
.profile-contribution .contribution-official {
  border-color: currentcolor;
  border-radius: 2px;
}

.profile-contribution .contribution-pending {
  color: #eec100;
}

.profile-contribution .contribution-official {
  color: #77a500;
}

.profile-contribution .contribution-status {
  display: inline-block;
  color: #fff;
  margin: 0 10px;
}

.profile-contribution .contribution-planned {
  background-color: #3eaae5;
}

.profile-contribution .contribution-not-planned {
  background-color: #b5b5b5;
}

.profile-contribution .contribution-completed {
  background-color: #669600;
}

.profile-contribution .contribution-answered {
  background-color: #669600;
}

.profile-contribution-list > .profile-contribution::before,
.profile-activity:before {
  position: absolute;
  content: "";
  font-family: "Entypo";
  text-align: center;
  color: #ccc;
  font-size: 16px;
  background-color: #fff;
}

.profile-contribution-list > .profile-contribution::before {
  left: 0;
  top: 16px;
  width: 28px;
  line-height: 28px;
}

[dir=rtl] .profile-contribution-list > .profile-contribution::before {
  right: 0;
}

.profile-activity:before {
  left: -14px;
  width: 28px;
  line-height: 40px;
}

[dir=rtl] .profile-activity:before {
  left: 0;
  right: -14px;
}

.profile-articles > .profile-contribution::before,
.profile-activity-list > li[class$="-article"]:before {
  content: "\1f4C4";
}

.profile-posts > .profile-contribution::before,
.profile-activity-list > li[class$="-post"]:before {
  content: "\e720";
}

.profile-comments > .profile-contribution::before,
.profile-activity-list > li[class$="-comment"]:before {
  content: "\e718";
}

/* custom */
.profile-header {
  @extend .container;
}
.profile-nav {
  @extend .container;
  margin-bottom: 20px!important;
}
.profile-section {
  @extend .container;
}